package org.parade.driver.zookeeper;

import java.util.Map;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;

import org.apache.zookeeper.ZooKeeper;
import org.apache.zookeeper.server.ZooKeeperServer;
import org.apache.zookeeper.server.ZooKeeperServerMain;
import org.parade.distributed.Id;

public class Driver extends org.parade.driver.Driver{
	ZooKeeper zk;
	
	public Driver(){
		throw new RuntimeException("ZK Driver instance must be provided");
	}
	
	public Driver(ZooKeeper zk){
		this.zk = zk;
	}
	
	
	@Override
	public Lock getLock(Id id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Condition getCondition(org.parade.distributed.Lock lock) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public long generateUniqueId() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public BlockingQueue getBlockingQueue(Id id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Map getMap(Id id) {
		// TODO Auto-generated method stub
		return null;
	}

}
